<template>
  <div class="child">
    <h1>Child组件</h1>
    <!-- 再把方法直接传给GrandSon -->
    <Grandson v-bind="$attrs"/>
    <!-- <Grandson :="$attrs"/> -->
  </div>
</template>

<script lang="ts" setup>
  import Grandson from './Grandson.vue'
</script>

<style scoped>
</style>